<!-- File: /app/View/Posts/add.ctp -->

<h1>Add Post</h1>

<script type="text/javascript">
    var ckEditor = CKEDITOR.replace('body');
    </script>
    <?php echo $this->Form->create('Post');
          echo $this->Form->input('title');
          echo $this->Form->textarea('body', array('id'=>'body','class'=>'ckeditor'));
          echo $this->Form->end('Save Post');?>